﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HtmlAgilityPack;

namespace Crawler.DomainServices.Processors
{
	public interface IHtmlParserHelper
	{
		string GetInnerTextOfSingleNode(HtmlNode src, string xpath);
		HtmlNode GetInnerNode(HtmlNode src, string xpath);
		IEnumerable<HtmlNode> GetInnerNodeCollection(HtmlNode src,string xPath);
		string GetAttributeValueOfSingleNode(HtmlNode src, string xPath, string attributeName);
		string GetInnerTextOfSingleNodeFromCollection(HtmlNode src, string xPathCollectionFilter, string xPath);
	}
}
